import request from "@/utils/request.js";
const user = {
	// 获取用户信息
	getUserInfo: () => request.get("/api/user/info"),
	// 获取老师考勤记录
	getTeacherAttendance: data => request.get("/api/teacher/getSignUpList", data),
	// 获取老师考勤记录详情
	getTeacherAttendanceDetail: data => request.get("/api/teacher/getSignUpDetail", data),
	//老师学校列表
	getTeacherSchoolList: data => request.get("/api/teacher/getSchoolList",data),
	//老师学校课程列表
	getSchoolCourseList: data => request.get("/api/teacher/getCourseList", data),
	//获取对应课程排课列表
	getTeacherCourseList: data => request.get("/api/teacher/getTeacherCourse", data),
	// 老师授课列表
	getAttendanceList: data => request.post("/api/teacher/getTeacherCourseList", data),
	// 老师授课列表数量
	getAttendanceCount: data => request.post("/api/teacher/getTeacherCourseListCount", data),
	// 老师授课详情
	getAttendanceDetail: data => request.get("/api/teacher/courseDetail", data),
	//获取位置是否可以打卡
	getSignUpByLngLat: data => request.post("/api/teacher/getAddressByLngLat", data),
	// 老师打卡
	teacherClockIn: data => request.post("/api/teacher/sign", data),
	// 保存学生考勤
	submitCourseInfo:data => request.post("/api/teacher/updateTeacherCourse", data),
}
export default user;